<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:if test="${empty(param.idCardPic)}" var="error">图片上传失败</c:if>
<c:if test="${not error}">
    <img style="max-height: 80px;" src="${pageContext.request.contextPath}/web/userinfo/img/uploadImages/${param.idCardPic}">
    <a href="${pageContext.request.contextPath}/web/upload/uploadPositive">重新上传</a>
</c:if>
<script>
    window.parent.document.getElementById("idCardPic").value="${param.idCardPic}";
</script>
</body>
</html>